import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
public interface BookSystem extends Remote{
	boolean add(Book b) throws RemoteException;
	Book queryByID(int bookID) throws RemoteException;
	ArrayList<Book> queryByName(String name) throws RemoteException; 
	boolean delete(int bookID) throws RemoteException;
}
